package com.topboya.linker.model.response;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;
import java.util.List;

public class OrganizationResopnse extends BaseResponse implements Parcelable {

    private Data data;

    protected OrganizationResopnse(Parcel in) {
    }

    public static final Creator<OrganizationResopnse> CREATOR = new Creator<OrganizationResopnse>() {
        @Override
        public OrganizationResopnse createFromParcel(Parcel in) {
            return new OrganizationResopnse(in);
        }

        @Override
        public OrganizationResopnse[] newArray(int size) {
            return new OrganizationResopnse[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
    }

    public class Data {
        private int pageNo;
        private int pageSize;
        private int count;
        private int other;
        private List<DocDetailInfoList> list;
        private int firstResult;
        private int maxResults;
        private String html;

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageNo() {
            return pageNo;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getCount() {
            return count;
        }

        public void setOther(int other) {
            this.other = other;
        }

        public int getOther() {
            return other;
        }

        public void setDocDetailInfoList(List<DocDetailInfoList> list) {
            this.list = list;
        }

        public List<DocDetailInfoList> getDocDetailInfoList() {
            return list;
        }

        public void setFirstResult(int firstResult) {
            this.firstResult = firstResult;
        }

        public int getFirstResult() {
            return firstResult;
        }

        public void setMaxResults(int maxResults) {
            this.maxResults = maxResults;
        }

        public int getMaxResults() {
            return maxResults;
        }

        public void setHtml(String html) {
            this.html = html;
        }

        public String getHtml() {
            return html;
        }

        public class OffIdAndName {

        }
    }
    public class DocDetailInfoList implements Serializable {
        private String id;
        private String isNewRecord;
        private String updateDate;
        private String orgType;
        private String orgTypeId;
        private String orgName;
        private String quanpinName;
        private String area;
        private String orgAreaId;
        private String lat;
        private String lon;
        private String hosLevel;
        private String orgInter;
        private String authFlag;
        private String levelName;

        public void setId(String id) {
            this.id = id;
        }

        public String getId() {
            return id;
        }

        public void setIsNewRecord(String isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public String getIsNewRecord() {
            return isNewRecord;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setOrgType(String orgType) {
            this.orgType = orgType;
        }

        public String getOrgType() {
            return orgType;
        }

        public void setOrgTypeId(String orgTypeId) {
            this.orgTypeId = orgTypeId;
        }

        public String getOrgTypeId() {
            return orgTypeId;
        }

        public void setOrgName(String orgName) {
            this.orgName = orgName;
        }

        public String getOrgName() {
            return orgName;
        }

        public void setQuanpinName(String quanpinName) {
            this.quanpinName = quanpinName;
        }

        public String getQuanpinName() {
            return quanpinName;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public String getArea() {
            return area;
        }

        public void setOrgAreaId(String orgAreaId) {
            this.orgAreaId = orgAreaId;
        }

        public String getOrgAreaId() {
            return orgAreaId;
        }

        public void setLat(String lat) {
            this.lat = lat;
        }

        public String getLat() {
            return lat;
        }

        public void setLon(String lon) {
            this.lon = lon;
        }

        public String getLon() {
            return lon;
        }

        public void setHosLevel(String hosLevel) {
            this.hosLevel = hosLevel;
        }

        public String getHosLevel() {
            return hosLevel;
        }

        public void setOrgInter(String orgInter) {
            this.orgInter = orgInter;
        }

        public String getOrgInter() {
            return orgInter;
        }

        public void setAuthFlag(String authFlag) {
            this.authFlag = authFlag;
        }

        public String getAuthFlag() {
            return authFlag;
        }

        public void setLevelName(String levelName) {
            this.levelName = levelName;
        }

        public String getLevelName() {
            return levelName;
        }

        @Override
        public String toString() {
            return "DocDetailInfoList{" +
                    "id='" + id + '\'' +
                    ", isNewRecord='" + isNewRecord + '\'' +
                    ", updateDate='" + updateDate + '\'' +
                    ", orgType='" + orgType + '\'' +
                    ", orgTypeId='" + orgTypeId + '\'' +
                    ", orgName='" + orgName + '\'' +
                    ", quanpinName='" + quanpinName + '\'' +
                    ", area='" + area + '\'' +
                    ", orgAreaId='" + orgAreaId + '\'' +
                    ", lat='" + lat + '\'' +
                    ", lon='" + lon + '\'' +
                    ", hosLevel='" + hosLevel + '\'' +
                    ", orgInter='" + orgInter + '\'' +
                    ", authFlag='" + authFlag + '\'' +
                    ", levelName='" + levelName + '\'' +
                    '}';
        }
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    @Override
    public String toString() {

        return "OrganizationResopnse{" +
                "data=" + data +
                '}';
    }
}
